const utilsPlus = require("../../dist/index");

// console.log(utilsPlus.toNumber("12.3"));
// console.log(utilsPlus.toNumber("i123"));
// console.log(utilsPlus.toInt(12.5));
// console.log(utilsPlus.toInt("12.5678"));
// console.log(utilsPlus.toFixed("12.5678", 1));
// console.log(utilsPlus.meterToFt(100, 0));
// console.log(utilsPlus.ftToMeter(328, 0));
// console.log(utilsPlus.meter2ToFt2(100, 0));
// console.log(utilsPlus.ft2ToMeter2(1076, 0));
// console.log(utilsPlus.celsiusToFahrenheit(100, 0));
// console.log(utilsPlus.fahrenheitToCelsius(212, 0));
// console.log(utilsPlus.numberToChinese(235400.12));

console.log(utilsPlus.toFixed("12.43457"));

console.log(utilsPlus.calcAdd(0.1, 0.2));
console.log(0.1 + 0.2);

console.log(utilsPlus.calcSubtract(1.0, 0.9));
console.log(1.0 - 0.9);


console.log(utilsPlus.calcMultiply(0.1, 0.9));
console.log(0.1 * 0.9);


console.log(utilsPlus.calcDivide(0.1, 0.9));
console.log(0.1 / 0.9);
